Hello! I've been doing python for a couple of months on a different pc and now I've changed .So I'm having a problem installing the modules.Whenever I try ,it gives this error..
C:UsersDell>pip install matplotlib Collecting matplotlib Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x0490C9D0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',))': /simple/matplotlib/ Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x0490C950>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',))': /simple/matplotlib/ Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x0490C970>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',))': /simple/matplotlib/ Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x0490CC70>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',))': /simple/matplotlib/ Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x0490CA70>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',))': /simple/matplotlib/ Could not find a version that satisfies the requirement matplotlib (from versions: ) No matching distribution found for matplotlib
C:UsersDell>
I've tried with anaconda too there's something else the error but looks similar.I tried it on Pycharm and there also I couldn't install.I see this error message on pycharm,, Non-zero exit code (1) Please help so that I can move further.
You must be logged in to post. Please login or register an account.
If you're running ubuntu or a linux distro, run this then try again: sudo apt-get install libpng-dev libjpeg8-dev libfreetype6-dev
Matplotlib requires libpng, which isn't able to be installed from pip.
This should also work: sudo apt-get build-dep python-matplotlib
-dakeenekid 7 years ago
You must be logged in to post. Please login or register an account.